Gains in key IT, capital goods, healthcare and metal stocks, after consistent buying by domestic and foreign investors, helped both the key indices to scale new peaks.
Tata Steel was the day's worst performer in the Sensex pack, plunging 3.25 per cent, followed by Bharti Airtel at 3.05 per cent.
Sentiments took a hit after broader Asian markets weakened, following a renewed sell-off on Wall Street on Tuesday as energy shares dropped after crude oil prices plunged to a 13-month low amid weak earnings and US-China trade disputes, fuelling worries about economic growth
This is its biggest single session fall since August 24, 2015, when it had lost 1,624.51 points.
The NSE Nifty after shuttling between 10,441.90 and 10,341.90, ended 6.15 points, or 0.06 per cent down at 10,380.45.
The broader NSE Nifty too dived by 101.65 points, or 0.97 per cent, to close at 10,350.15.
Investor sentiments remained upbeat tracking global developments as the US, China geared up for trade talks due this week.
A declining rupee, elevated crude oil prices and sustained foreign fund outflows added to the gloom
Despite a strong start to trade today, key benchmark indices retreated sharply from their higher levels following bouts of profit-taking amid fresh weakness in the rupee against the dollar.
Sun Pharma was the biggest gainer in the Sensex pack, advancing 1.79 per cent.
Traders said falling crude prices in the global market was a big boost for the economy as it lightens the country's import bill burden, eases inflation and current account deficit concerns.
The BSE Sensex zoomed 318 points to end at 33,351.57, while the broader Nifty spurted 88 points to 10,242.65.
The NSE Nifty, which dipped below the key 10,800-mark to touch a low of 10,755.40, bounced back on late buying to close at 10,817.70, up 9.65 points, or 0.09 per cent.
The BSE benchmark Sensex surged about 241 points to end at 35,165.48 and the NSE Nifty gained 84 points to close at 10,688.65.
Notable losers were ONGC, Axis Bank, ITC, SBI, ICICI Bank, NTPC, Hero Motocorp, Sun Pharma and Bharti Airtel who fell by up to 2.80 per cent.
The NSE Nifty settled the day 38.85 points or 0.37 per cent lower at 10,500.90 after shuttling between 10,590.55 and 10,456.65, intra-day.
Muted global trend after a report that US President Donald Trump was preparing to impose more tariffs on China hurt trading sentiments.
The broader Nifty too fell for the second straight session and closed with a loss of over 62 points, or 0.54 per cent, at 11,520.30, after hovering between 11,496.85 and 11,602.55.
The laggards in the Sensex kitty were Vedanta, Tata Steel, M&M, HCL Tech, Bharti Airtel, Maruti Suzuki, L&T, Asian Paint and HDFC
The 30-share Sensex, after opening on a strong footing, continued its upward march to hit an all-time high of 35,827.70. The NSE Nifty also hit a record intra-day high of 10,975.10, before finishing at 10,966.20, up 71.50 points.
The 50-issue NSE Nifty too cracked the 10,200-mark and hit a low of 10,108.55 before finishing 104.75 points, or 1.02 per cent down at 10,121.80.
The broader NSE Nifty too reclaimed the key 11,500-mark. It touched a high of 11,562.25, before finally settling at 11,536.90, showing a gain of 59.95 points, or 0.52 per cent.
Bajaj Auto was the top gainer in the Sensex pack, surging 3.95 per cent followed by Maruti Suzuki at 2.69 per cent.
The BSE gauge Sensex fell 73.88 points to 35,548.26 and the NSE Nifty slid 17.85 points to 10,799.85, taking cues from tumbling global shares.
Muted quarterly earnings, mixed cues from global markets and unabated foreign fund outflows added to the volatility
Sensex witnessed the biggest single day gain since May 2009 in absolute terms.
The 50-stock NSE barometer Nifty finished 22.50 points, or 0.21 per cent, down at 10,526.20
The broader NSE Nifty closed 1.25 points, or 0.01 per cent down at 10,564.05.
The BSE Sensex was down 326 points at 23,277 and the Nifty was down 107 points at 7,056.
Weak GDP data and unfaouvrable global data has pulled down Sensex, Nifty.
The broad-based NSE Nifty rose 52.80 points, or 0.50 per cent, to end at 10,530.70
The broader NSE Nifty closed below the 10,600 mark by plunging 98.15 points, or 0.84 per cent, to 11,582.35 after shuttling between 11,567.40 and 11,751.80.
Surprisingly, RIL scrip also fell by 2.73 per cent to 1,029.15, becoming the second biggest loser in the index
Small- and mid-cap stocks continued facing selling pressure due to stretched valuations.
Sun Pharma was the best gainer among Sensex components, surging 6.91 per cent
But the 30-share Sensex rose by 141.52 points, or 0.41 per cent, to close at 34,297.47. The broader NSE Nifty gained 44.60- points, or 0.42 per cent, to end at 10,545.50 after touching a high of 10,618.10.
Sentiment was largely positive after April IIP grew at 4.9 per cent, spurred by higher growth in manufacturing and mining sectors.
Fresh buying by domestic institutional investors and better-than-expected June quarter results from some blue-chip companies boosted investor sentiment
On a weekly basis, the Sensex climbed 749.86 points or 2.69 per cent and the NSE Nifty soared 237.10 points or 2.76 per cent
Since April 1, promoters of Jaiprakash Associates have released more than 225 million Jaiprakash Power Ventures shares (valued at Rs 425 crore) pledged with lenders.